<?php
require_once dirname(__FILE__) . '/../../../incls/php/dbutils.class.php';
require_once dirname(__FILE__) . '/../../../incls/php/miscutils.class.php';
require_once dirname(__FILE__) . '/../../../incls/php/config.php';
$myPdo = DbUtils::createPdoInst();
$page_id = MiscUtils::getParam('i', 0);

$SIZE = 1;
$page = MiscUtils::getParam('p', 1);
$items = DbUtils::get($myPdo,  TABLE_NAME_PREFIX_PLUGIN . 'admin_hm_ban', NULL, NULL, NULL, $page, $SIZE, NULL)->d;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<style>
* {
  font-family: Trebuchet MS;
  font-size: 12px;
  padding: 0;
  margin: 0;
}
</style>
</head>
<body>
<?php if (count($items) > 0) { ?>
<img src="<?php echo $items[0]->file; ?>"></img>
<?php } ?>
</body>
</html>